import {createStore, combineReducers} from 'redux'
import userReducer from './User'
import orderReducer from './Order'

const rootReducer = combineReducers({
    // 模块名： 对应的reducer
    user: userReducer,
    order: orderReducer
})

const store = createStore(rootReducer)
export default store
